package com.CRApp.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @ClassName: Article
 * @Author : LuoFan洛樊
 * @Date : 2025/2/20 - 10:55
 * Description : 文章实体类
 */
@Data
public class Article {
    private Integer id;
    private String title;
    private String content;
    private String coverImg;
    
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}